package cn.kgc.vue.service;

import cn.kgc.vue.common.ResponseResult;
import cn.kgc.vue.dto.RolePageDTO;
import cn.kgc.vue.entity.Role;
import cn.kgc.vue.form.RolePermissionForm;
import com.baomidou.mybatisplus.extension.service.IService;

public interface RoleService extends IService<Role> {

    ResponseResult getRolePage(RolePageDTO rolePageDTO);

    ResponseResult deleteById(Integer id);

    ResponseResult addPermission(RolePermissionForm rolePermissionForm);

    ResponseResult getRolePermission(Integer id);
}
